
#include "nane/core/WinAPI/winapi.h"
#include "nane/testframework/testframework.h"

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
{
    nane::TestFramework* testApp = nane::TestFramework::CreateTest();
    std::string cmdLine;
    nane::WinAPI::GetCommandLine(&cmdLine);
    int result = testApp->Run(cmdLine.c_str());
    nane::TestFramework::ReleaseTest(testApp);
    return result;
}
